package com.finance.rule.service;


import com.finance.framework.lang.Page;
import com.finance.framework.lang.PageResultBO;
import com.finance.rule.bean.pojo.MajorRule;

import java.util.List;
import java.util.Map;

public interface IMajorRuleService {
	MajorRule getById(long id);
	MajorRule getBySupplier_code(String code);
    List<MajorRule> listAll();
	PageResultBO<MajorRule> listByPage(Page page);
	boolean add(MajorRule majorRule);
	boolean update(MajorRule majorRule);
	Map<String,String>getDescription(String parser);
	boolean supplierCodeExist(String supplierCode);
}
